#!/bin/bash

# environment properties
#
# title = title of dialog
# prompt = text entry message
# width = width of dialog
# default = default text value
# hide != "" mask input on screen
#

zenity --entry --title="${title:=$1}" --text="${prompt:=$2}" \
--width=${width:=300} --entry-text="${default:-$3}" ${hide+--hide-text};

